#ifdef DEVICE_PC_WATCHMEN_PCIE
#pragma once

#include <Arduino.h>
#include <ArduinoJson.h>

#include <WakeOnLan.h>
#include <WiFiUdp.h>

#include "ESP8266WSYBoot.h"
#include "ESP8266WSYBemfa.h"

#include "devices.h"

void device_pin_init();

void device_buzzer_ticker();

void device_scan_front_switch();
void device_upload_status();

void device_power_ticker();
void device_shutdown_ticker();

void device_handle_messages(const String &msg);
//注册Ying Websock回调
void register_ying_handle();

void device_led_on();

void device_led_off();
//--------------网络唤醒--------------
void device_wol(const String &msg);

void device_setup();
void device_loop();

#endif


